home *** CD-ROM | disk | FTP | other *** search
- DISKPREP Jeff Prosise
- Command l986/No. 21
-
- ______________________________________________________
-
- Purpose: Permits making a floppy disk self-booting
- even if the DOS "system" files were omitted
- when the disk was formatted and program files
- have subsequently been added to it.
-
- Format: DISKPREP [d:]
- followed by:
- SYS [d:] (a DOS command)
- COPY COMMAND.COM [d:] (a DOS command)
-
- Remarks: In addition to having a copy of COMMAND.COM,
- diskettes formatted with the /S (system)
- option contain the two "hidden" files,
- IBMBIO.COM and IBMDOS.COM, as the first two
- entries in the disk directory. (The clusters
- for IBMBIO.COM must be contiguous.) A non-
- system disk stores regular files in the areas
- where the "system" files must reside if the
- disk is to be self-booting.
-
- DISKPREP relocates clusters currently used by
- non-system files to other areas on the disk,
- updating the disk directory and file
- allocation table accordingly. After running
- DISKPREP, the DOS SYS command can install the
- hidden system files in their proper
- locations, and the DOS COPY command can be
- used to put COMMAND.COM on the disk.
-
- DISKPREP does not support high-density (1.2
- megabyte) diskettes, 3 1/2-inch disk
- cartridges, or hard disks. However, provided
- sufficient room remains on the disk, DISKPREP
- can be used to upgrade the DOS version on a
- self-booting disk. Attempting to replace a
- later DOS version with an earlier (lower
- numbered) one is not recommended.
-
- Notes:
-
- 1. DISKPREP should not be used on floppy
- disks that already contain
- subdirectories.
-
- 2. Since copy-protected disks often employ
- non-standard sectoring for their own
- purposes, DISKPREP is not recommended
- for use on such disks.
-